package com.hejia.alauda.entity;

import java.util.ArrayList;
import java.util.List;

import javax.persistence.Column;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;

/**
 * 
 * 支付网关实体
 *
 *
 * Created by showone on 2015 下午4:05:53.
 *
 * @Copyright: 2015 www.hejiajinrong.com All rights reserved.
 */
@JsonIgnoreProperties(value = { "createDate", "modifyDate" })
public class PayGate extends BaseEntity {
	private static final long serialVersionUID = 1L;

	@Column(length = 50)
	private String gateName;// 网关名称

	@Column(length = 50)
	private String gateCode;// 网关编码

	@Column(length = 10)
	private Integer priority;// 优先级别

	@Column
	private Boolean inuse;// 使用中

	private List<PayGateBank> banks = new ArrayList<PayGateBank>();// 支持银行

	public String getGateName() {
		return gateName;
	}

	public void setGateName(String gateName) {
		this.gateName = gateName;
	}

	public String getGateCode() {
		return gateCode;
	}

	public void setGateCode(String gateCode) {
		this.gateCode = gateCode;
	}

	public Integer getPriority() {
		return priority;
	}

	public void setPriority(Integer priority) {
		this.priority = priority;
	}

	public Boolean getInuse() {
		return inuse;
	}

	public void setInuse(Boolean inuse) {
		this.inuse = inuse;
	}

	public List<PayGateBank> getBanks() {
		return banks;
	}

	public void setBanks(List<PayGateBank> banks) {
		this.banks = banks;
	}
}
